//
//  APIWeek.h
//  Bracelet
//
//  Created by jing zhao on 2/15/15.
//  Copyright (c) 2015 jing zhao. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "APIConnection.h"

#import <AFNetworking/AFNetworking.h>

@interface APIWeekTotal : NSObject
@property(copy,nonatomic)NSString* strLast_update_time;
@property(copy,nonatomic)NSString* strPercent;
@property(copy,nonatomic)NSString* strRankResult;
@property(copy,nonatomic)NSString* strRemainDays;
@property(copy,nonatomic)NSString* strRunTotal_metre;
@property(copy,nonatomic)NSString* strTotalMoney;
@property(copy,nonatomic)NSString* strTotalTarget;
@property (strong, nonatomic)UIColor*color;
@property(copy,nonatomic)NSString *strHtml;

+(void)setApiRelativePosition:(NSString*)relativePostion
                   getTheWeek:(void (^)(APIWeekTotal *week)) successBlock
                      failure:(void (^)( NSError *error)) failureBlock;
@end
